﻿using Kingdee.BOS.Core.DynamicForm.PlugIn;
using Kingdee.BOS.Core.DynamicForm.PlugIn.Args;
using Kingdee.BOS.Util;
using System.ComponentModel;

namespace HX.HxDemo.BOS.Business.PlugIn25011602
{
    [Description("【表单插件】AfterCreateNewEntryRow"),HotUpdate]
    public class AfterCreateNewEntryRowPlugin : AbstractDynamicFormPlugIn
    {
        public override void AfterCreateNewEntryRow(CreateNewEntryEventArgs e)
        {
            base.AfterCreateNewEntryRow(e);
            if (e.Entity.Key.EqualsIgnoreCase("FPOOrderEntry"))
            {
                this.Model.SetValue("FQty", 666, e.Row);
            }
        }
    }
}
